
const Student = require( '../models/Student' );

Student.findAll()
.then( rows => rows.map( row => row.dataValues ))
.then( students => {
    students.forEach( stu => {
        console.log( stu );
    })
})

